package day1103;
//等级
public class Level {
    private int gradenum;//等级
    private int EXP;//经验值
    private int increasing;//涨幅
    private int time;//时间
    private int length;//长度

    public Level(int gradenum, int EXP, int increasing, int time, int length) {
        this.gradenum = gradenum;
        this.EXP = EXP;
        this.increasing = increasing;
        this.time = time;
        this.length = length;
    }

    public int getGradenum() {
        return gradenum;
    }

    public void setGradenum(int gradenum) {
        this.gradenum = gradenum;
    }

    public int getEXP() {
        return EXP;
    }

    public void setEXP(int EXP) {
        this.EXP = EXP;
    }

    public int getIncreasing() {
        return increasing;
    }

    public void setIncreasing(int increasing) {
        this.increasing = increasing;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }

    @Override
    public String toString() {
        return "Level{" +
                "等级是：" + gradenum +
                ", 经验值是：" + EXP +
                ", 经验涨幅是：" + increasing +
                ", 限时：" + time +
                "秒, 字符个数是" + length +"个"+
                '}';
    }
}
